//package com.yhl.latticy.controller.cms;
//
//import io.github.talelin.core.annotation.*;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.util.HashMap;
//import java.util.Map;
//
///**
//
// */
//@RestController
//@RequestMapping("shopadmin/cms/test")
//public class TestController {
//
//    @RequestMapping("")
//    public String index() {
//        return "<style type=\"text/css\">*{ padding: 0; margin: 0; } div{ padding: 4px 48px;} a{color:#2E5CD5;cursor:" +
//                "pointer;text-decoration: none} a:hover{text-decoration:underline; } body{ background: #fff; font-family:" +
//                "\"Century Gothic\",\"Microsoft yahei\"; color: #333;font-size:18px;} h1{ font-size: 100px; font-weight: normal;" +
//                "margin-bottom: 12px; } p{ line-height: 1.6em; font-size: 42px }</style><div style=\"padding: 24px 48px;\"><p>" +
//                "Lin <br/><span style=\"font-size:30px\">医汇联。。</span></p></div> ";
//    }
//
//    @RequestMapping("/json")
//    @LoginMeta(permission = "测试日志记录", module = "信息", mount = true)
//    @Logger(template = "{user.nickname}又皮了一波")
//    public Map getTestMsg() {
//        Map res = new HashMap();
//        res.put("msg", "物质决定意识，经济基础决定上层建筑");
//        return res;
//    }
//
//    @RequestMapping("/info")
//    @GroupMeta(permission = "查看lin的信息", module = "信息", mount = true)
//    public Map getTestInfo() {
//        Map res = new HashMap();
//        res.put("msg", "医汇联。。");
//        return res;
//    }
//}
